home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c,comp.unix.programmer
- Subject: Re: Pass password to "passwd" in C
- Followup-To: comp.unix.programmer
- Date: Sun, 28 Jan 96 02:04:46 GMT
- Organization: none
- Message-ID: <822794686snz@genesis.demon.co.uk>
- References: <4edi2h$p0k@ixnews7.ix.netcom.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4edi2h$p0k@ixnews7.ix.netcom.com>
- johnma2@ix.netcom.com(John "John Ma " writes:
-
- >Hi:
- >
- >
- >I am writing a small utility program to change password on UNIX
- >machine. The command will look like: set_password vendor1 (password
- >for vendor will be set to guest password); or set_password vendor2
- >(password for same vendor will be set to internal password). The
- >reason because we use the same login id/password as vendor due to file
- >access reason, but we want to control their access, so that we want to
- >change to their password only if we feel they need to dial in.
-
- passwd is designed to prohibit this sort of thing in general (it is a
- security risk) by reading from the control terminal directly. However
- this whole issue is highly Unix specific so I have directed followups to
- comp.unix.programmer.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-